<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>E-Greeting: Login page</title>
</head>
<body  bgcolor="#99CCCC">  
<%@include file="messages.jsp" %>
<h2>Welcome To E Greeting - the only place where you can make your own personal greeting.</h2> 
<form action="LoginServlet" method="post" >
Email:<input type="text" name="emailAddr" value="${emailAddr}"/>
Password:<input type="password" name="userPassword" value="${userPassword}"/>
<img src=http://tbn0.google.com/images?q=tbn:2kGjl5eM6JAHyM:http://www.donna-tribute.com/images/fans/holiday.jpg
width="50" height="50">
<br/>
<br/>
<a href="registrationPage.jsp" >I don't have a password, please register me</a>
<br/>
<br/>
<input type="submit" name="login" value="Login">
<input type="submit" name="reminder" value="I forgot my password">
<br/>
<br/>
Remember me on this computer:
<input type="checkbox" name="rememberMe" value="saveMe" <%= request.getAttribute("checkedState") %> >
<br/> 
<br/>
<img src="http://tbn0.google.com/images?q=tbn:VvDZzvaFirPyCM:http://www.disneyfrontier.com/wp-content/uploads/2006/12/disney_parks_snowman_blog_and_e_greetings.png"
width="150" height="150">
<img src=http://tbn0.google.com/images?q=tbn:vA_Vt1TfpU2ZKM:http://www.unwind.com/postcard/images/jf/bundlejoy.gif
width="150" height="150">
<h6>By Assaf Paz And Nomi Katz</h6>
</form>
</body>
</html>